package clothes.tools.pojo;

import java.math.BigDecimal;

public class Purchase {
    private Integer eid;
    private String pid;
    private BigDecimal prime;
    private String etime;
    private Integer enumber;
    private BigDecimal totalcost;

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public BigDecimal getPrime() {
        return prime;
    }

    public void setPrime(BigDecimal prime) {
        this.prime = prime;
    }

    public String getEtime() {
        return etime;
    }

    public void setEtime(String etime) {
        this.etime = etime;
    }

    public Integer getEnumber() {
        return enumber;
    }

    public void setEnumber(Integer enumber) {
        this.enumber = enumber;
    }

    public BigDecimal getTotalcost() {
        return totalcost;
    }

    public void setTotalcost(BigDecimal totalcost) {
        this.totalcost = totalcost;
    }

    public Purchase(Integer eid, String pid, BigDecimal prime, String etime, Integer enumber, BigDecimal totalcost) {
        this.eid = eid;
        this.pid = pid;
        this.prime = prime;
        this.etime = etime;
        this.enumber = enumber;
        this.totalcost = totalcost;
    }

    public Purchase() {
    }

    @Override
    public String toString() {
        return "Purchase{" +
                "eid='" + eid + '\'' +
                ", pid='" + pid + '\'' +
                ", prime=" + prime +
                ", etime=" + etime +
                ", enumber=" + enumber +
                ", totalcost=" + totalcost +
                '}';
    }
}
